Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress errors related to legacy client in code generator #381

Closed

Conversation

shahrzadav
Copy link
Contributor

Description

When the user selects Legacy client in code generator in secure communication task, errors related to this constraint will be suppressed, if and only if the checkbox related to this in preference page is also selected.

Fixes #193

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

It has been tested in runtime.

Test Configuration:

  • Eclipse Version: 2019-09 R (4.13.0)
  • Java Version: 1.8
  • OS: Windows 10

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@kruegers kruegers self-requested a review March 6, 2020 13:13
@kruegers
Copy link
Member

kruegers commented Mar 6, 2020

Thanks @shahrzadav. Could you please checkout the build errors before I review the PR? Thanks.

Conflicts:
	plugins/de.cognicrypt.codegenerator/src/main/java/de/cognicrypt/codegenerator/wizard/Configuration.java
	plugins/de.cognicrypt.crysl.handler/src/main/java/de/cognicrypt/crysl/reader/CrySLModelReader.java
	plugins/de.cognicrypt.staticanalyzer/.classpath
…ogniCrypt.git into iss193-FilterResult

Conflicts:
	plugins/de.cognicrypt.staticanalyzer/.classpath
@shahrzadav
Copy link
Contributor Author

Thanks @kruegers , it is without build errors now. please review it.

Conflicts:
	plugins/de.cognicrypt.codegenerator/src/main/java/de/cognicrypt/codegenerator/wizard/Configuration.java
	plugins/de.cognicrypt.crysl.handler/src/main/java/de/cognicrypt/crysl/reader/CrySLModelReader.java
	plugins/de.cognicrypt.staticanalyzer/.classpath
Signed-off-by: Shahrzad <[email protected]>
@shahrzadav shahrzadav force-pushed the iss193-FilterResult branch from dbc87ff to 07de860 Compare April 2, 2020 11:26
Copy link
Member

@kruegers kruegers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I aborted my review halfway through because the PR contains many reversions to extensions and bugfixes we have implemented in the last few months. Please fix the PR first before I review again. Do however implement the feedback I have already given as well, please. Thanks.

@kruegers
Copy link
Member

kruegers commented May 7, 2020

Hey @rakshitkr ,

Once @shahrzadav has fixed the issues with this PR, please both test it on your machine and review the code here on Github. Thanks.

@kruegers
Copy link
Member

assigned @schlichtig.

@schlichtig schlichtig self-assigned this May 29, 2020
Copy link
Contributor

@rakshitkr rakshitkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert these changes if you don't intend to rename the file extensions back to cryptsl from crysl.

}
}
} catch (ParseException | IOException e2) {
e2.printStackTrace();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use Activator.getDefault().logError() here instead

@rakshitkr
Copy link
Contributor

Have tested the changes on my machine. Everything is working.

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this, should I add or not?

@@ -21,6 +21,7 @@ Require-Bundle: org.eclipse.ui,
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .,
resources/
resources/json-simple.jar
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not add this either

@shahrzadav shahrzadav closed this Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants